<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    #div1{
      width: 300px;
      height: 180px;
      background-color: red;
      overflow: scroll;
    }
    #div2{
      width: 800px;
      background-color: yellow;
    }
  </style>
</head>
<body>
<div id="div1">

  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem culpa deserunt dolorem fugit nam quae sint,
  <div id="div2">
   Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab aliquid animi aspernatur cupiditate deserunt dolorem dolorum facilis fugiat, in ipsum iusto necessitatibus neque praesentium quaerat quas quis tempore! Corporis, temporibus!
  </div>
  tempore? Alias beatae cum dignissimos, fuga fugiat obcaecati officia provident rem repellat tempore unde.
</div>
</body>
</html>